package cn.mahjong.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * 麻将定义
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MahJongBean {

    private MahJongBeanType type;

    private Integer value;


    public enum MahJongBeanType {
        TIAO("条"), TONG("筒"), WAN("万");

        @Getter
        private final String desc;

        MahJongBeanType(String desc) {
            this.desc = desc;
        }
    }
}
